<?php
/**
 * Created by PhpStorm.
 * User: Zwc
 * Date: 2025/11/14
 * Time: 11:35
 */

namespace App\Domain;

class UserTaskDomain
{
    private $taskType = [
        [
            'type' => 'uploadAvatar',
            'name' => '上传头像',
            'isNeedCond' => 0,
            'completeStr' => '上传头像%s次'
        ],[
            'type' => 'userAuth',
            'name' => '实名认证',
            'isNeedCond' => 0,
            'completeStr' => '完成实名认证%s次'
        ],[
            'type' => 'updateUserInfo',
            'name' => '完善资料',
            'isNeedCond' => 0,
            'completeStr' => '完善资料%s次'
        ],[
            'type' => 'videoCall',
            'name' => '视频通话',
            'isNeedCond' => 1,
            'completeStr' => '每日视频通话%s分钟'
        ],[
            'type' => 'startLive',
            'name' => '开启直播',
            'isNeedCond' => 1,
            'completeStr' => '每日开启直播%s分钟'
        ],[
            'type' => 'publishDynamic',
            'name' => '发布动态',
            'isNeedCond' => 1,
            'completeStr' => '每日发布动态%s条'
        ],[
            'type' => 'dynamicZan',
            'name' => '点赞动态',
            'isNeedCond' => 1,
            'completeStr' => '每日点赞动态%s次'
        ],[
            'type' => 'sendMessage',
            'name' => '发送私信',
            'isNeedCond' => 1,
            'completeStr' => '每日发送私信%s人次'
        ],
        [
            'type' => 'sign',
            'name' => '每日签到',
            'isNeedCond' => 0,
            'completeStr' => '每日签到%s次'
        ]
    ];


    public static function getTaskInfo($uid,$langId)
    {





    }



}